import fetch from 'utils/fetch'

export async function queryRole () {
  return fetch.post('/common/roles', {})
}

export async function queryUser (params) {
  return fetch.post('/common/users', params)
}

export async function queryGroup () {
  return fetch.post('/common/groups', {})
}

export async function queryOrganization () {
  return fetch.post('/common/organizations', {})
}


export async function queryNode () {
  return fetch.post('/common/nodes', {})
}
